aboutsummaryrefslogtreecommitdiff
path: root/src/app/kdrama/[id]
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/kdrama/[id]')
-rw-r--r--src/app/kdrama/[id]/page.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/kdrama/[id]/page.jsx b/src/app/kdrama/[id]/page.jsx
index baaf24e..8f0fa9c 100644
--- a/src/app/kdrama/[id]/page.jsx
+++ b/src/app/kdrama/[id]/page.jsx
@@ -3,6 +3,8 @@ import Image from "next/image";
import EpisodesButtons from "./buttons";
import PreFetchVideoLinks from "../components/cacher";
+export const runtime = "edge";
+
export default async function DramaInfo({ params }) {
const id = decodeURIComponent(params.id);
const info = await getDramaInfo(id);
@@ -16,7 +18,7 @@ export default async function DramaInfo({ params }) {
<div className={styles.TitleContainer}>
<p>{info.title}</p>
<Image
- src={info.image}
+ src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=${info.image}`}
width={160}
height={240}
alt="Drama Poster"